<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./script/Cesium/Cesium.js"></script>
    <link rel="stylesheet" href="./script/Cesium/Widgets/widgets.css" />
    <style>
      html,
      body {
        height: 100%;
        margin: 0px;
        padding: 0px;
      }
    </style>
  </head>
  <body>
    <div id="cesiumContainer" style="width: 100%"></div>
    <script>
      const viewer = new Cesium.Viewer("cesiumContainer", {
        // baseLayerPicker: false,
        // navigationHelpButton: false,
        // sceneModePicker: false,
        terrainProvider: Cesium.createWorldTerrain(),
        baseLayerPicker: false,
        shouldAnimate: true,
      });

      const cartographicDegrees1 = [
        0,
        106.2666295,
        38.46666999,
        10,
        10,
        106.2752311,
        38.4652927,
        10,
        20,
        106.2838319,
        38.46391695,
        10,
        30,
        106.292432,
        38.46254273,
        10,
        40,
        106.3010313,
        38.46117004,
        10,
        50,
        106.3096299,
        38.45979888,
        10,
        60,
        106.3182278,
        38.45842925,
        10,
        70,
        106.3268249,
        38.45706114,
        10,
        80,
        106.3354212,
        38.45569455,
        10,
        90,
        106.3440169,
        38.45432948,
        10,
        100,
        106.3526117,
        38.45296592,
        10,
        110,
        106.3612058,
        38.45160388,
        10,
        120,
        106.3697992,
        38.45024335,
        10,
        130,
        106.3783918,
        38.44888432,
        10,
        140,
        106.3869837,
        38.44752681,
        10,
        150,
        106.3955748,
        38.44617079,
        10,
        160,
        106.4041652,
        38.44481628,
        10,
        170,
        106.4127548,
        38.44346327,
        10,
        180,
        106.4213437,
        38.44211175,
        10,
        190,
        106.4299318,
        38.44076172,
        10,
        200,
        106.4385192,
        38.43941319,
        10,
        210,
        106.4471058,
        38.43806614,
        10,
        220,
        106.4556917,
        38.43672058,
        10,
        230,
        106.4642768,
        38.4353765,
        10,
        240,
        106.4728612,
        38.43403391,
        10,
        250,
        106.4814448,
        38.43269279,
        10,
        260,
        106.4900277,
        38.43135315,
        10,
        270,
        106.4986098,
        38.43001498,
        10,
        280,
        106.5071911,
        38.42867829,
        10,
        290,
        106.5157717,
        38.42734306,
        10,
        300,
        106.5243516,
        38.4260093,
        10,
        310,
        106.5329307,
        38.424677,
        10,
        320,
        106.541509,
        38.42334617,
        10,
        330,
        106.5500866,
        38.42201679,
        10,
        340,
        106.5586635,
        38.42068887,
        10,
        350,
        106.5672395,
        38.41936241,
        10,
        360,
        106.5758149,
        38.4180374,
        10,
        370,
        106.5843894,
        38.41671384,
        10,
        380,
        106.5929633,
        38.41539172,
        10,
        390,
        106.6015363,
        38.41407105,
        10,
        400,
        106.6101086,
        38.41275182,
        10,
        410,
        106.6186802,
        38.41143403,
        10,
        420,
        106.627251,
        38.41011769,
        10,
        430,
        106.635821,
        38.40880277,
        10,
        440,
        106.6443903,
        38.40748929,
        10,
        450,
        106.6529588,
        38.40617724,
        10,
        460,
        106.6615265,
        38.40486662,
        10,
        470,
        106.6700935,
        38.40355742,
        10,
        480,
        106.6786598,
        38.40224965,
        10,
        490,
        106.6872253,
        38.4009433,
        10,
        500,
        106.69579,
        38.39963837,
        10,
        510,
        106.704354,
        38.39833486,
        10,
        520,
        106.7129172,
        38.39703276,
        10,
        530,
        106.7214796,
        38.39573207,
        10,
        540,
        106.7300413,
        38.39443279,
        10,
        550,
        106.7386022,
        38.39313492,
        10,
        560,
        106.7471624,
        38.39183846,
        10,
        570,
        106.7557218,
        38.3905434,
        10,
        580,
        106.7642804,
        38.38924974,
        10,
        590,
        106.7728383,
        38.38795748,
        10,
        600,
        106.7813954,
        38.38666661,
        10,
        610,
        106.7899517,
        38.38537714,
        10,
        620,
        106.7985073,
        38.38408906,
        10,
        630,
        106.8070622,
        38.38280237,
        10,
        640,
        106.8156162,
        38.38151707,
        10,
        650,
        106.8241695,
        38.38023315,
        10,
        660,
        106.8327221,
        38.37895061,
        10,
        670,
        106.8412738,
        38.37766946,
        10,
        680,
        106.8498248,
        38.37638968,
        10,
        690,
        106.8583751,
        38.37511129,
        10,
        700,
        106.8669245,
        38.37383426,
        10,
        710,
        106.8754732,
        38.37255861,
        10,
        720,
        106.8840212,
        38.37128432,
        10,
        730,
        106.8925684,
        38.3700114,
        10,
        740,
        106.9011148,
        38.36873985,
        10,
        750,
        106.9096604,
        38.36746966,
        10,
        760,
        106.9182053,
        38.36620083,
        10,
        770,
        106.9267494,
        38.36493336,
        10,
        780,
        106.9352928,
        38.36366725,
        10,
        790,
        106.9438353,
        38.36240249,
        10,
        800,
        106.9523771,
        38.36113908,
        10,
        810,
        106.9609182,
        38.35987703,
        10,
        820,
        106.9694584,
        38.35861632,
        10,
        830,
        106.9779979,
        38.35735695,
        10,
        840,
        106.9865367,
        38.35609893,
        10,
        850,
        106.9950746,
        38.35484225,
        10,
        860,
        107.0036118,
        38.35358691,
        10,
        870,
        107.0121483,
        38.35233291,
        10,
        880,
        107.0206839,
        38.35108024,
        10,
        890,
        107.0292188,
        38.3498289,
        10,
        900,
        107.0377529,
        38.3485789,
        10,
        910,
        107.0462862,
        38.34733022,
        10,
        920,
        107.0548188,
        38.34608287,
        10,
        930,
        107.0633506,
        38.34483684,
        10,
        940,
        107.0718816,
        38.34359214,
        10,
        950,
        107.0804119,
        38.34234875,
        10,
        960,
        107.0889413,
        38.34110669,
        10,
        970,
        107.09747,
        38.33986594,
        10,
        980,
        107.105998,
        38.3386265,
        10,
        990,
        107.1145251,
        38.33738837,
        10,
        1000,
        107.1230515,
        38.33615156,
        10,
        1010,
        107.1315771,
        38.33491605,
        10,
        1020,
        107.140102,
        38.33368185,
        10,
        1030,
        107.148626,
        38.33244895,
        10,
        1040,
        107.1571493,
        38.33121735,
        10,
        1050,
        107.1656718,
        38.32998705,
        10,
        1060,
        107.1741936,
        38.32875805,
        10,
        1070,
        107.1827145,
        38.32753034,
        10,
        1080,
        107.1912347,
        38.32630393,
        10,
        1090,
        107.1997541,
        38.32507881,
        10,
        1100,
        107.2082727,
        38.32385497,
        10,
        1110,
        107.2167906,
        38.32263243,
        10,
        1120,
        107.2253077,
        38.32141117,
        10,
        1130,
        107.233824,
        38.32019119,
        10,
        1140,
        107.2423395,
        38.31897249,
        10,
        1150,
        107.2508542,
        38.31775507,
        10,
        1160,
        107.2593682,
        38.31653893,
        10,
        1170,
        107.2678814,
        38.31532406,
        10,
        1180,
        107.2763938,
        38.31411047,
        10,
        1190,
        107.2849054,
        38.31289814,
        10,
        1200,
        107.2934163,
        38.31168709,
        10,
        1210,
        107.3019263,
        38.3104773,
        10,
        1220,
        107.3104356,
        38.30926878,
        10,
        1230,
        107.3189441,
        38.30806152,
        10,
        1240,
        107.3274519,
        38.30685552,
        10,
        1250,
        107.3359588,
        38.30565078,
        10,
        1260,
        107.344465,
        38.3044473,
        10,
        1270,
        107.3529704,
        38.30324507,
        10,
        1280,
        107.361475,
        38.30204409,
        10,
        1290,
        107.3699788,
        38.30084437,
        10,
        1300,
        107.3784818,
        38.2996459,
        10,
        1310,
        107.3869841,
        38.29844867,
        10,
        1320,
        107.3954855,
        38.29725269,
        10,
        1330,
        107.4039862,
        38.29605795,
        10,
        1340,
        107.4124861,
        38.29486445,
        10,
        1350,
        107.4209853,
        38.29367219,
        10,
        1360,
        107.4294836,
        38.29248117,
        10,
        1370,
        107.4379812,
        38.29129139,
        10,
        1380,
        107.4464779,
        38.29010284,
        10,
        1390,
        107.4549739,
        38.28891552,
        10,
        1400,
        107.4634691,
        38.28772943,
        10,
        1410,
        107.4719635,
        38.28654457,
        10,
        1420,
        107.4804572,
        38.28536093,
        10,
        1430,
        107.48895,
        38.28417852,
        10,
        1440,
        107.4974421,
        38.28299733,
        10,
        1450,
        107.5059333,
        38.28181736,
        10,
        1460,
        107.5144238,
        38.28063861,
        10,
        1470,
        107.5229135,
        38.27946108,
        10,
        1480,
        107.5314024,
        38.27828476,
        10,
        1490,
        107.5398905,
        38.27710965,
        10,
        1500,
        107.5483779,
        38.27593576,
        10,
        1510,
        107.5568644,
        38.27476307,
        10,
        1520,
        107.5653502,
        38.27359159,
        10,
        1530,
        107.5738352,
        38.27242132,
        10,
        1540,
        107.5823193,
        38.27125225,
        10,
        1550,
        107.5908027,
        38.27008438,
        10,
        1560,
        107.5992853,
        38.26891771,
        10,
        1570,
        107.6077671,
        38.26775224,
        10,
        1580,
        107.6162482,
        38.26658797,
        10,
        1590,
        107.6247284,
        38.26542489,
        10,
        1600,
        107.6332078,
        38.264263,
        10,
        1610,
        107.6416865,
        38.2631023,
        10,
        1620,
        107.6501644,
        38.26194279,
        10,
        1630,
        107.6586414,
        38.26078447,
        10,
        1640,
        107.6671177,
        38.25962734,
        10,
        1650,
        107.6755932,
        38.25847138,
        10,
        1660,
        107.6840679,
        38.25731661,
        10,
        1670,
        107.6925418,
        38.25616302,
        10,
        1680,
        107.7010149,
        38.2550106,
        10,
        1690,
        107.7094872,
        38.25385937,
        10,
        1700,
        107.7179587,
        38.2527093,
        10,
        1710,
        107.7264295,
        38.25156041,
        10,
        1720,
        107.7348994,
        38.25041269,
        10,
        1730,
        107.7433685,
        38.24926614,
        10,
        1740,
        107.7518369,
        38.24812075,
        10,
        1750,
        107.7603044,
        38.24697653,
        10,
        1760,
        107.7687712,
        38.24583348,
        10,
        1770,
        107.7772372,
        38.24469158,
        10,
        1780,
        107.7857023,
        38.24355085,
        10,
        1790,
        107.7941667,
        38.24241127,
        10,
        1800,
        107.8026303,
        38.24127285,
        10,
        1810,
        107.811093,
        38.24013559,
        10,
        1820,
        107.819555,
        38.23899948,
        10,
        1830,
        107.8280162,
        38.23786452,
        10,
        1840,
        107.8364766,
        38.23673071,
        10,
        1850,
        107.8449362,
        38.23559804,
        10,
        1860,
        107.853395,
        38.23446653,
        10,
        1870,
        107.861853,
        38.23333615,
        10,
        1880,
        107.8703102,
        38.23220692,
        10,
        1890,
        107.8787666,
        38.23107883,
        10,
        1900,
        107.8872222,
        38.22995188,
        10,
        1910,
        107.895677,
        38.22882607,
        10,
        1920,
        107.904131,
        38.22770139,
        10,
        1930,
        107.9125842,
        38.22657785,
        10,
        1940,
        107.9210366,
        38.22545544,
        10,
        1950,
        107.9294882,
        38.22433415,
        10,
        1960,
        107.937939,
        38.223214,
        10,
        1970,
        107.946389,
        38.22209498,
        10,
        1980,
        107.9548382,
        38.22097708,
        10,
        1990,
        107.9632866,
        38.2198603,
        10,
        2000,
        107.9717342,
        38.21874465,
        10,
        2010,
        107.980181,
        38.21763011,
        10,
        2020,
        107.988627,
        38.2165167,
        10,
        2030,
        107.9970722,
        38.2154044,
        10,
        2040,
        108.0055166,
        38.21429321,
        10,
        2050,
        108.0139602,
        38.21318314,
        10,
        2060,
        108.022403,
        38.21207419,
        10,
        2070,
        108.030845,
        38.21096634,
        10,
        2080,
        108.0392862,
        38.2098596,
        10,
        2090,
        108.0477266,
        38.20875397,
        10,
        2100,
        108.0561661,
        38.20764944,
        10,
        2110,
        108.0646049,
        38.20654602,
        10,
        2120,
        108.0730429,
        38.20544369,
        10,
        2130,
        108.08148,
        38.20434247,
        10,
        2140,
        108.0899164,
        38.20324235,
        10,
        2150,
        108.0983519,
        38.20214333,
        10,
        2160,
        108.1067867,
        38.2010454,
        10,
        2170,
        108.1152206,
        38.19994856,
        10,
        2180,
        108.1236538,
        38.19885281,
        10,
        2190,
        108.1320861,
        38.19775816,
        10,
        2200,
        108.1405176,
        38.1966646,
        10,
        2210,
        108.1489483,
        38.19557212,
        10,
        2220,
        108.1573782,
        38.19448072,
        10,
        2230,
        108.1658073,
        38.19339042,
        10,
        2240,
        108.1742356,
        38.19230119,
        10,
        2250,
        108.1826631,
        38.19121304,
        10,
        2260,
        108.1910898,
        38.19012598,
        10,
        2270,
        108.1995157,
        38.18903999,
        10,
        2280,
        108.2079407,
        38.18795508,
        10,
        2290,
        108.216365,
        38.18687124,
        10,
        2300,
        108.2247884,
        38.18578847,
        10,
        2310,
        108.2332111,
        38.18470678,
        10,
        2320,
        108.2416329,
        38.18362615,
        10,
        2330,
        108.2500539,
        38.1825466,
        10,
        2340,
        108.2584741,
        38.18146811,
        10,
        2350,
        108.2668935,
        38.18039068,
        10,
        2360,
        108.2753121,
        38.17931432,
        10,
        2370,
        108.2837299,
        38.17823902,
        10,
        2380,
        108.2921469,
        38.17716478,
        10,
        2390,
        108.300563,
        38.17609159,
        10,
        2400,
        108.3089783,
        38.17501947,
        10,
        2410,
        108.3173929,
        38.1739484,
        10,
        2420,
        108.3258066,
        38.17287838,
        10,
        2430,
        108.3342195,
        38.17180942,
        10,
        2440,
        108.3426316,
        38.17074151,
        10,
        2450,
        108.3510429,
        38.16967464,
        10,
        2460,
        108.3594533,
        38.16860883,
        10,
        2470,
        108.367863,
        38.16754406,
        10,
        2480,
        108.3762718,
        38.16648033,
        10,
        2490,
        108.3846799,
        38.16541765,
        10,
        2500,
        108.3930871,
        38.16435601,
        10,
        2510,
        108.4014935,
        38.16329541,
        10,
        2520,
        108.409899,
        38.16223585,
        10,
        2530,
        108.4183038,
        38.16117732,
        10,
        2540,
        108.4267078,
        38.16011983,
        10,
        2550,
        108.4351109,
        38.15906337,
        10,
        2560,
        108.4435132,
        38.15800795,
        10,
        2570,
        108.4519147,
        38.15695356,
        10,
        2580,
        108.4603154,
        38.15590019,
        10,
        2590,
        108.4687153,
        38.15484786,
        10,
        2600,
        108.4771144,
        38.15379655,
        10,
        2610,
        108.4855126,
        38.15274626,
        10,
        2620,
        108.49391,
        38.151697,
        10,
        2630,
        108.5023066,
        38.15064876,
        10,
        2640,
        108.5107024,
        38.14960154,
        10,
        2650,
        108.5190974,
        38.14855534,
        10,
        2660,
        108.5274915,
        38.14751016,
        10,
        2670,
        108.5358849,
        38.14646599,
        10,
        2680,
        108.5442774,
        38.14542284,
        10,
        2690,
        108.5526691,
        38.1443807,
        10,
        2700,
        108.56106,
        38.14333958,
        10,
        2710,
        108.56945,
        38.14229946,
        10,
        2720,
        108.5778393,
        38.14126035,
        10,
        2730,
        108.5862277,
        38.14022225,
        10,
        2740,
        108.5946153,
        38.13918515,
        10,
        2750,
        108.6030021,
        38.13814906,
        10,
        2760,
        108.611388,
        38.13711397,
        10,
        2770,
        108.6197732,
        38.13607988,
        10,
        2780,
        108.6281575,
        38.13504679,
        10,
        2790,
        108.636541,
        38.1340147,
        10,
        2800,
        108.6449236,
        38.1329836,
        10,
        2810,
        108.6533055,
        38.13195351,
        10,
        2820,
        108.6616865,
        38.1309244,
        10,
        2830,
        108.6700667,
        38.12989629,
        10,
        2840,
        108.6784461,
        38.12886917,
        10,
        2850,
        108.6868247,
        38.12784304,
        10,
        2860,
        108.6952024,
        38.1268179,
        10,
        2870,
        108.7035793,
        38.12579374,
        10,
        2880,
        108.7119554,
        38.12477057,
        10,
        2890,
        108.7203307,
        38.12374838,
        10,
        2900,
        108.7287051,
        38.12272718,
        10,
        2910,
        108.7370787,
        38.12170696,
        10,
        2920,
        108.7454515,
        38.12068772,
        10,
        2930,
        108.7538235,
        38.11966945,
        10,
        2940,
        108.7621947,
        38.11865216,
        10,
        2950,
        108.770565,
        38.11763585,
        10,
        2960,
        108.7789345,
        38.11662051,
        10,
        2970,
        108.7873031,
        38.11560615,
        10,
        2980,
        108.795671,
        38.11459276,
        10,
        2990,
        108.804038,
        38.11358033,
        10,
        3000,
        108.8124042,
        38.11256888,
        10,
        3010,
        108.8207696,
        38.11155839,
        10,
        3020,
        108.8291341,
        38.11054887,
        10,
        3030,
        108.8374978,
        38.10954031,
        10,
        3040,
        108.8458607,
        38.10853271,
        10,
        3050,
        108.8542227,
        38.10752608,
        10,
        3060,
        108.862584,
        38.10652041,
        10,
        3070,
        108.8709444,
        38.10551569,
        10,
        3080,
        108.8793039,
        38.10451194,
        10,
        3090,
        108.8876627,
        38.10350914,
        10,
        3100,
        108.8960206,
        38.10250729,
        10,
        3110,
        108.9043777,
        38.1015064,
        10,
        3120,
        108.9127339,
        38.10050646,
        10,
        3130,
        108.9210894,
        38.09950747,
        10,
        3140,
        108.929444,
        38.09850943,
        10,
        3150,
        108.9377977,
        38.09751234,
        10,
        3160,
        108.9461507,
        38.09651619,
        10,
        3170,
        108.9545028,
        38.09552099,
        10,
        3180,
        108.962854,
        38.09452674,
        10,
        3190,
        108.9712045,
        38.09353342,
        10,
        3200,
        108.9795541,
        38.09254105,
        10,
        3210,
        108.9879029,
        38.09154962,
        10,
        3220,
        108.9962508,
        38.09055912,
        10,
        3230,
        109.0045979,
        38.08956957,
        10,
        3240,
        109.0129442,
        38.08858095,
        10,
        3250,
        109.0212897,
        38.08759326,
        10,
        3260,
        109.0296343,
        38.08660651,
        10,
        3270,
        109.0379781,
        38.08562069,
        10,
        3280,
        109.046321,
        38.0846358,
        10,
        3290,
        109.0546631,
        38.08365184,
        10,
        3300,
        109.0630044,
        38.0826688,
        10,
        3310,
        109.0713449,
        38.0816867,
        10,
        3320,
        109.0796845,
        38.08070552,
        10,
        3330,
        109.0880233,
        38.07972526,
        10,
        3340,
        109.0963612,
        38.07874593,
        10,
        3350,
        109.1046983,
        38.07776752,
        10,
        3360,
        109.1130346,
        38.07679002,
        10,
        3370,
        109.1213701,
        38.07581345,
        10,
        3380,
        109.1297047,
        38.0748378,
        10,
        3390,
        109.1380385,
        38.07386306,
        10,
        3400,
        109.1463714,
        38.07288923,
        10,
        3410,
        109.1547035,
        38.07191632,
        10,
        3420,
        109.1630348,
        38.07094432,
        10,
        3430,
        109.1713652,
        38.06997324,
        10,
        3440,
        109.1796948,
        38.06900306,
        10,
        3450,
        109.1880235,
        38.06803379,
        10,
        3460,
        109.1963514,
        38.06706543,
        10,
        3470,
        109.2046785,
        38.06609798,
        10,
        3480,
        109.2130048,
        38.06513143,
        10,
        3490,
        109.2213302,
        38.06416578,
        10,
        3500,
        109.2296547,
        38.06320104,
        10,
        3510,
        109.2379785,
        38.06223719,
        10,
        3520,
        109.2463013,
        38.06127425,
        10,
        3530,
        109.2546234,
        38.0603122,
        10,
        3540,
        109.2629446,
        38.05935106,
        10,
        3550,
        109.271265,
        38.0583908,
        10,
        3560,
        109.2795845,
        38.05743145,
        10,
        3570,
        109.2879032,
        38.05647298,
        10,
        3580,
        109.296221,
        38.05551541,
        10,
        3590,
        109.304538,
        38.05455873,
        10,
        3600,
        109.3128542,
        38.05360294,
        10,
        3610,
        109.3211695,
        38.05264804,
        10,
        3620,
        109.329484,
        38.05169402,
        10,
        3630,
        109.3377977,
        38.05074089,
        10,
        3640,
        109.3461105,
        38.04978865,
        10,
        3650,
        109.3544224,
        38.04883729,
        10,
        3660,
        109.3627336,
        38.04788681,
        10,
        3670,
        109.3710438,
        38.04693721,
        10,
        3680,
        109.3793533,
        38.04598849,
        10,
        3690,
        109.3876619,
        38.04504066,
        10,
        3700,
        109.3959696,
        38.04409369,
        10,
        3710,
        109.4042765,
        38.04314761,
        10,
        3720,
        109.4125826,
        38.0422024,
        10,
        3730,
        109.4208878,
        38.04125806,
        10,
        3740,
        109.4291922,
        38.0403146,
        10,
        3750,
        109.4374957,
        38.03937201,
        10,
        3760,
        109.4457984,
        38.03843028,
        10,
        3770,
        109.4541003,
        38.03748943,
        10,
        3780,
        109.4624012,
        38.03654944,
        10,
        3790,
        109.4707014,
        38.03561032,
        10,
        3800,
        109.4790007,
        38.03467207,
        10,
        3810,
        109.4872992,
        38.03373468,
        10,
        3820,
        109.4955968,
        38.03279815,
        10,
        3830,
        109.5038936,
        38.03186249,
        10,
        3840,
        109.5121895,
        38.03092769,
        10,
        3850,
        109.5204846,
        38.02999374,
        10,
        3860,
        109.5287788,
        38.02906065,
        10,
        3870,
        109.5370722,
        38.02812842,
        10,
        3880,
        109.5453647,
        38.02719705,
        10,
        3890,
        109.5536564,
        38.02626653,
        10,
        3900,
        109.5619473,
        38.02533687,
        10,
        3910,
        109.5702373,
        38.02440805,
        10,
        3920,
        109.5785264,
        38.02348009,
        10,
        3930,
        109.5868147,
        38.02255298,
        10,
        3940,
        109.5951022,
        38.02162671,
        10,
        3950,
        109.6033888,
        38.0207013,
        10,
        3960,
        109.6116745,
        38.01977673,
        10,
        3970,
        109.6199594,
        38.01885301,
        10,
        3980,
        109.6282435,
        38.01793013,
        10,
        3990,
        109.6365267,
        38.01700809,
        10,
        4000,
        109.6448091,
        38.01608689,
        10,
        4010,
        109.6530906,
        38.01516654,
        10,
        4020,
        109.6613712,
        38.01424703,
        10,
        4030,
        109.669651,
        38.01332835,
        10,
        4040,
        109.67793,
        38.01241051,
        10,
        4050,
        109.6862081,
        38.01149351,
        10,
        4060,
        109.6944853,
        38.01057734,
        10,
        4070,
        109.7027618,
        38.00966201,
        10,
        4080,
        109.7110373,
        38.00874751,
        10,
        4090,
        109.719312,
        38.00783384,
        10,
        4100,
        109.7275859,
        38.006921,
        10,
        4110,
        109.7358589,
        38.00600899,
        10,
        4120,
        109.744131,
        38.0050978,
        10,
        4130,
        109.7524023,
        38.00418745,
        10,
        4140,
        109.7606727,
        38.00327792,
        10,
        4150,
        109.7689423,
        38.00236922,
        10,
        4160,
        109.7772111,
        38.00146134,
        10,
        4170,
        109.7854789,
        38.00055428,
        10,
        4180,
        109.793746,
        37.99964804,
        10,
        4190,
        109.8020121,
        37.99874263,
        10,
        4200,
        109.8102775,
        37.99783803,
        10,
        4210,
        109.8185419,
        37.99693425,
        10,
        4220,
        109.8268055,
        37.99603129,
        10,
        4230,
        109.8350683,
        37.99512915,
        10,
        4240,
        109.8433302,
        37.99422781,
        10,
        4250,
        109.8515912,
        37.9933273,
        10,
        4260,
        109.8598514,
        37.99242759,
        10,
        4270,
        109.8681108,
        37.9915287,
        10,
        4280,
        109.8763692,
        37.99063062,
        10,
        4290,
        109.8846269,
        37.98973334,
        10,
        4300,
        109.8928836,
        37.98883688,
        10,
        4310,
        109.9011395,
        37.98794122,
        10,
        4320,
        109.9093946,
        37.98704637,
        10,
        4330,
        109.9176488,
        37.98615232,
        10,
        4340,
        109.9259021,
        37.98525908,
        10,
        4350,
        109.9341546,
        37.98436664,
        10,
        4360,
        109.9424062,
        37.983475,
        10,
        4370,
        109.950657,
        37.98258416,
        10,
        4380,
        109.9589069,
        37.98169412,
        10,
        4390,
        109.967156,
        37.98080488,
        10,
        4400,
        109.9754042,
        37.97991644,
        10,
        4410,
        109.9836515,
        37.97902879,
        10,
        4420,
        109.991898,
        37.97814194,
        10,
        4430,
        110.0001436,
        37.97725588,
        10,
        4440,
        110.0083883,
        37.97637062,
        10,
        4450,
        110.0166322,
        37.97548615,
        10,
        4460,
        110.0248753,
        37.97460247,
        10,
        4470,
        110.0331175,
        37.97371957,
        10,
        4480,
        110.0413588,
        37.97283747,
        10,
        4490,
        110.0495992,
        37.97195616,
        10,
        4500,
        110.0578388,
        37.97107563,
        10,
        4510,
        110.0660776,
        37.97019589,
        10,
        4520,
        110.0743154,
        37.96931693,
        10,
        4530,
        110.0825525,
        37.96843876,
        10,
        4540,
        110.0907886,
        37.96756137,
        10,
        4550,
        110.0990239,
        37.96668476,
        10,
        4560,
        110.1072583,
        37.96580893,
        10,
        4570,
        110.1154919,
        37.96493388,
        10,
        4580,
        110.1237246,
        37.9640596,
        10,
        4590,
        110.1319565,
        37.96318611,
        10,
        4600,
        110.1401874,
        37.96231339,
        10,
        4610,
        110.1484176,
        37.96144145,
        10,
        4620,
        110.1566468,
        37.96057028,
        10,
        4630,
        110.1648752,
        37.95969989,
        10,
        4640,
        110.1731027,
        37.95883026,
        10,
        4650,
        110.1813294,
        37.95796141,
        10,
        4660,
        110.1895552,
        37.95709333,
        10,
        4670,
        110.1977801,
        37.95622602,
        10,
        4680,
        110.2060042,
        37.95535947,
        10,
        4690,
        110.2142274,
        37.9544937,
        10,
        4700,
        110.2224498,
        37.95362868,
        10,
        4710,
        110.2306712,
        37.95276444,
        10,
        4720,
        110.2388919,
        37.95190096,
        10,
        4730,
        110.2471116,
        37.95103824,
        10,
        4740,
        110.2553305,
        37.95017628,
        10,
        4750,
        110.2635485,
        37.94931508,
        10,
        4760,
        110.2717657,
        37.94845465,
        10,
        4770,
        110.2799819,
        37.94759497,
        10,
        4780,
        110.2881974,
        37.94673605,
        10,
        4790,
        110.2964119,
        37.94587789,
        10,
        4800,
        110.3046256,
        37.94502048,
        10,
        4810,
        110.3128384,
        37.94416383,
        10,
        4820,
        110.3210504,
        37.94330793,
        10,
        4830,
        110.3292614,
        37.94245279,
        10,
        4840,
        110.3374717,
        37.94159839,
        10,
        4850,
        110.345681,
        37.94074475,
        10,
        4860,
        110.3538895,
        37.93989186,
        10,
        4870,
        110.3620971,
        37.93903972,
        10,
        4880,
        110.3703038,
        37.93818832,
        10,
        4890,
        110.3785097,
        37.93733768,
        10,
        4900,
        110.3867147,
        37.93648777,
        10,
        4910,
        110.3949189,
        37.93563862,
        10,
        4920,
        110.4031221,
        37.93479021,
        10,
        4930,
        110.4113245,
        37.93394254,
        10,
        4940,
        110.4195261,
        37.93309561,
        10,
        4950,
        110.4277267,
        37.93224942,
        10,
        4960,
        110.4359265,
        37.93140398,
        10,
        4970,
        110.4441254,
        37.93055927,
        10,
        4980,
        110.4523235,
        37.9297153,
        10,
        4990,
        110.4605207,
        37.92887207,
        10,
        5000,
        110.468717,
        37.92802958,
        10,
        5010,
        110.4769124,
        37.92718782,
        10,
        5020,
        110.485107,
        37.9263468,
        10,
        5030,
        110.4933007,
        37.9255065,
        10,
        5040,
        110.5014935,
        37.92466695,
        10,
        5050,
        110.5096854,
        37.92382812,
        10,
        5060,
        110.5178765,
        37.92299002,
        10,
        5070,
        110.5260667,
        37.92215265,
        10,
        5080,
        110.5342561,
        37.92131602,
        10,
        5090,
        110.5424445,
        37.92048011,
        10,
        5100,
        110.5506321,
        37.91964492,
        10,
        5110,
        110.5588188,
        37.91881046,
        10,
        5120,
        110.5670047,
        37.91797673,
        10,
        5130,
        110.5751896,
        37.91714372,
        10,
        5140,
        110.5833737,
        37.91631144,
        10,
        5150,
        110.5915569,
        37.91547987,
        10,
        5160,
        110.5997393,
        37.91464903,
        10,
        5170,
        110.6079208,
        37.91381891,
        10,
        5180,
        110.6161014,
        37.9129895,
        10,
        5190,
        110.6242811,
        37.91216082,
        10,
        5200,
        110.6324599,
        37.91133285,
        10,
        5210,
        110.6406379,
        37.9105056,
        10,
        5220,
        110.648815,
        37.90967906,
        10,
        5230,
        110.6569912,
        37.90885324,
        10,
        5240,
        110.6651666,
        37.90802813,
        10,
        5250,
        110.6733411,
        37.90720374,
        10,
        5260,
        110.6815146,
        37.90638005,
        10,
        5270,
        110.6896874,
        37.90555708,
        10,
        5280,
        110.6978592,
        37.90473482,
        10,
        5290,
        110.7060302,
        37.90391327,
        10,
        5300,
        110.7142003,
        37.90309242,
        10,
        5310,
        110.7223695,
        37.90227228,
        10,
        5320,
        110.7305378,
        37.90145285,
        10,
        5330,
        110.7387053,
        37.90063413,
        10,
        5340,
        110.7468718,
        37.8998161,
        10,
        5350,
        110.7550376,
        37.89899879,
        10,
        5360,
        110.7632024,
        37.89818217,
        10,
        5370,
        110.7713663,
        37.89736626,
        10,
        5380,
        110.7795294,
        37.89655105,
        10,
        5390,
        110.7876916,
        37.89573653,
        10,
        5400,
        110.7958529,
        37.89492272,
        10,
        5410,
        110.8040133,
        37.8941096,
        10,
        5420,
        110.8121729,
        37.89329719,
        10,
        5430,
        110.8203315,
        37.89248546,
        10,
        5440,
        110.8284893,
        37.89167444,
        10,
        5450,
        110.8366463,
        37.89086411,
        10,
        5460,
        110.8448023,
        37.89005447,
        10,
        5470,
        110.8529574,
        37.88924552,
        10,
        5480,
        110.8611117,
        37.88843727,
        10,
        5490,
        110.8692651,
        37.88762971,
        10,
        5500,
        110.8774176,
        37.88682283,
        10,
        5510,
        110.8855693,
        37.88601665,
        10,
        5520,
        110.89372,
        37.88521116,
        10,
        5530,
        110.9018699,
        37.88440635,
        10,
        5540,
        110.9100189,
        37.88360223,
        10,
        5550,
        110.918167,
        37.88279879,
        10,
        5560,
        110.9263142,
        37.88199604,
        10,
        5570,
        110.9344605,
        37.88119398,
        10,
        5580,
        110.942606,
        37.88039259,
        10,
        5590,
        110.9507506,
        37.87959189,
        10,
        5600,
        110.9588943,
        37.87879187,
        10,
        5610,
        110.9670371,
        37.87799254,
        10,
        5620,
        110.975179,
        37.87719388,
        10,
        5630,
        110.9833201,
        37.8763959,
        10,
        5640,
        110.9914602,
        37.87559859,
        10,
        5650,
        110.9995995,
        37.87480197,
        10,
        5660,
        111.0077379,
        37.87400602,
        10,
        5670,
        111.0158754,
        37.87321075,
        10,
        5680,
        111.024012,
        37.87241615,
        10,
        5690,
        111.0321478,
        37.87162222,
        10,
        5700,
        111.0402826,
        37.87082897,
        10,
        5710,
        111.0484166,
        37.87003639,
        10,
        5720,
        111.0565497,
        37.86924448,
        10,
        5730,
        111.0646819,
        37.86845324,
        10,
        5740,
        111.0728132,
        37.86766267,
        10,
        5750,
        111.0809437,
        37.86687276,
        10,
        5760,
        111.0890732,
        37.86608353,
        10,
        5770,
        111.0972019,
        37.86529496,
        10,
        5780,
        111.1053296,
        37.86450706,
        10,
        5790,
        111.1134565,
        37.86371982,
        10,
        5800,
        111.1215825,
        37.86293325,
        10,
        5810,
        111.1297076,
        37.86214734,
        10,
        5820,
        111.1378319,
        37.86136209,
        10,
        5830,
        111.1459552,
        37.86057751,
        10,
        5840,
        111.1540777,
        37.85979359,
        10,
        5850,
        111.1621992,
        37.85901032,
        10,
        5860,
        111.1703199,
        37.85822772,
        10,
        5870,
        111.1784397,
        37.85744577,
        10,
        5880,
        111.1865586,
        37.85666448,
        10,
        5890,
        111.1946766,
        37.85588385,
        10,
        5900,
        111.2027938,
        37.85510388,
        10,
        5910,
        111.21091,
        37.85432456,
        10,
        5920,
        111.2190254,
        37.85354589,
        10,
        5930,
        111.2271398,
        37.85276788,
        10,
        5940,
        111.2352534,
        37.85199052,
        10,
        5950,
        111.2433661,
        37.85121381,
        10,
        5960,
        111.2514779,
        37.85043775,
        10,
        5970,
        111.2595888,
        37.84966234,
        10,
        5980,
        111.2676988,
        37.84888758,
        10,
        5990,
        111.2758079,
        37.84811347,
        10,
        6000,
        111.2839162,
        37.84734001,
        10,
      ];

      const cartographicDegrees = [];

      const cartographicDegreesOne = [];

      const cartographicDegreesTwo = [];

      cartographicDegrees1.forEach((item, index) => {
        if (index % 4 == 3) {
          item = item * 300;
        }
        cartographicDegrees.push(item);
      });

      cartographicDegrees.forEach((item, index) => {
        if (index % 4 == 1) {
          //item = item - 1;
        }
        if (index % 4 == 2) {
          item = item - 0.04;
        }
        cartographicDegreesOne.push(item);
      });

      cartographicDegrees.forEach((item, index) => {
        if (index % 4 == 1) {
          //item = item - 1;
        }
        if (index % 4 == 2) {
          item = item + 0.01;
        }
        cartographicDegreesTwo.push(item);
      });

      console.log(cartographicDegrees, "00000000");
      console.log(cartographicDegreesOne, "11111111");

      function getCzml() {
        var czml = [
          {
            id: "document",
            name: "CZML Path",
            version: "1.0",
            clock: {
              interval: "2012-08-04T10:00:00Z/2012-08-04T10:10:00Z",
              currentTime: "2012-08-04T10:00:00Z",
              multiplier: 10,
            },
          },
          {
            id: "path",
            name: "path with GPS flight data",
            description:
              "<p>Hang gliding flight log data from Daniel H. Friedman.<br>Icon created by Larisa Skosyrska from the Noun Project</p>",
            availability: "2012-08-04T10:00:00Z/2012-08-04T10:10:00Z",
            path: {
              material: {
                polylineOutline: {
                  color: {
                    rgba: [80, 80, 255, 255],
                  },
                  outlineColor: {
                    rgba: [0, 255, 255, 255],
                  },
                  outlineWidth: 5,
                },
              },
              width: 8,
              leadTime: 10,
              trailTime: 1000,
              resolution: 5,
            },
            point: {
              color: {
                rgba: [255, 0, 0, 255],
              },
              outlineColor: {
                rgba: [255, 0, 0, 255],
              },
              outlineWidth: 2,
              pixelSize: 20,
            },
            // billboard: {
            //   image:
            //     "",
            //   scale: 1.5,
            //   eyeOffset: {
            //     cartesian: [0.0, 0.0, -10.0],
            //   },
            // },
            position: {
              epoch: "2012-08-04T10:00:00Z",
              cartographicDegrees: cartographicDegrees,
            },
          },
          {
            id: "path2",
            name: "path with GPS flight data",
            description:
              "<p>Hang gliding flight log data from Daniel H. Friedman.<br>Icon created by Larisa Skosyrska from the Noun Project</p>",
            availability: "2012-08-04T10:00:00Z/2012-08-04T10:10:00Z",
            path: {
              material: {
                polylineOutline: {
                  color: {
                    rgba: [100, 30, 100, 255],
                  },
                  outlineColor: {
                    rgba: [100, 100, 255, 255],
                  },
                  outlineWidth: 5,
                },
              },
              width: 8,
              leadTime: 10,
              trailTime: 1000,
              resolution: 5,
            },
            billboard: {
              image:
                "",
              scale: 1.5,
              eyeOffset: {
                cartesian: [0.0, 0.0, -10.0],
              },
            },
            position: {
              epoch: "2012-08-04T10:00:00Z",
              cartographicDegrees: cartographicDegreesOne,
            },
          },
          {
            id: "path3",
            name: "path with GPS flight data",
            description:
              "<p>Hang gliding flight log data from Daniel H. Friedman.<br>Icon created by Larisa Skosyrska from the Noun Project</p>",
            availability: "2012-08-04T10:00:00Z/2012-08-04T10:10:00Z",
            path: {
              material: {
                polylineOutline: {
                  color: {
                    rgba: [255, 0, 255, 255],
                  },
                  outlineColor: {
                    rgba: [122, 255, 255, 255],
                  },
                  outlineWidth: 5,
                },
              },
              width: 8,
              leadTime: 10,
              trailTime: 1000,
              resolution: 5,
            },
            billboard: {
              image:
                "",
              scale: 1.5,
              eyeOffset: {
                cartesian: [0.0, 0.0, -10.0],
              },
            },
            position: {
              epoch: "2012-08-04T10:00:00Z",
              cartographicDegrees: cartographicDegreesTwo,
            },
          },
        ];
        return czml;
      }

      function startUp2() {
        console.log("x");
        const czml = getCzml();
        czml[1].position.cartographicDegrees.forEach((item, index) => {
          if (index % 4 == 3) {
            item = item + 30000;
          }
        });

        console.log(czml);

        const dataSourcePromise = Cesium.CzmlDataSource.load(czml);
        dataSourcePromise.then((dataSource) => {
          const entity = dataSource.entities.getById("launchvehicle");

          console.log(entity);

          viewer.trackedEntity = ds.entities.getById("path");

          //setRotate(entity, { rotateX: 100, rotateY: 100, rotateZ: 100 });
          //update3dtilesMaxtrix(entity);
          setModelMatrix(entity);
        });
        viewer.dataSources.add(dataSourcePromise);
        viewer.zoomTo(dataSourcePromise);

        // viewer.camera.setView({
        //   destination: new Cesium.Cartesian3(-122.9353, 39.49873, 700000),
        // });
      }

      startUp2();

      function startUp() {
        const czml = getCzml();

        viewer.dataSources
          .add(Cesium.CzmlDataSource.load(czml))
          .then(function (ds) {
            //viewer.trackedEntity = ds.entities.getById("path");
          });
      }

      startUp();
    </script>
  </body>
</html>
